<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
  <link rel="stylesheet" href="../libs/bootstrap/3.3.7/css/bootstrap.min.css">
  <script src="../libs/jquery/2.1.1/jquery.min.js"></script>
  <script src="../libs/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body>
<script>
  var a = localStorage.getItem('n');
  $("body").append(a);
</script>
</body>
</html>